﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TruckWatch.Cloud.Models.ViewModels
{
    public class DriverModel
    {
        public DriverNEF Driver { get; set; }

        public string LastLocationLatLngString { get; set; }
        public string LastLocationAddress { get; set; }
        public string LastLocationReportTimeDisplay { get; set; }

        public List<TruckWatch.Cloud.Models.EF.Trip> AllTrips { get; set; }
        public List<TruckWatch.Cloud.Models.EF.TripPoint> TripPoints { get; set; }

        public List<TruckWatch.Cloud.Models.EF.TripStatus> TripStatuses { get; set; }
        public List<TruckWatch.Cloud.Models.EF.Message> MessagesReceived { get; set; }

        public TimeSpan EstimatedTimeToArrival {get;set;}

        public string LastMessage { get; set; }
        public string LastMessageReportTime { get; set; }

        public string OnTimeMessage { get; set; }
    }
}